package com.platform.dao;

import com.platform.entity.UserEntity;
import com.platform.entity.excel.UserExcel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 会员管理:用户管理
 *
 * @author lipengjun
 * @email 939961241@qq.com
 * @date 2017-08-16 15:02:28
 */
public interface UserDao extends BaseDao<UserEntity> {

    int updateinfo(UserEntity tPartner);

    List<UserExcel> queryListExcel(@Param("id") String id,@Param("name")  String name, @Param("phone") String phone,
                                   @Param("done")  Integer done,@Param("status")  Integer status, @Param("start") int start, @Param("size") Integer size);

    UserEntity queryObjectByPhone(@Param("phone")String phone);

    List<UserEntity> selectUserListForId(List<Long> uids);
}
